package com.itheima.day10.ZuoYe;

import cn.hutool.core.io.FileUtil;

import java.io.File;

public class ZuoYe3 {
    public static void copy(File dir1,File dir2){
    FileUtil.copy(dir1,dir2,true);
    }

    public static void main(String[] args) {
        File dir1 = new File("D:\\a");
        File dir2 = new File("D:\\b");
        copy(dir1,dir2);
    }
}
